#ifndef XMTextEdit_H
#define XMTextEdit_H

#include <QWidget>
#include <QTextEdit>
#include <QDragEnterEvent>  
#include <QMimeData> 


class XMTextEdit : public QTextEdit
{
    Q_OBJECT

public:
    explicit XMTextEdit(QWidget *parent = 0);
    ~XMTextEdit();
	
	bool ischange();

	


protected:
	void mousePressEvent(QMouseEvent *e);

	void dragEnterEvent(QDragEnterEvent *e);
	void dropEvent(QDropEvent *e);
	

public slots:

	void gotoline(QString context);

signals:
	void signcontext(QString context);

private:
    
};

#endif // XMUTIEDIT_H
